// 路由配置
import VueRouter from "vue-router";
const router = new VueRouter({
    esModule: false,
    mode: 'history',
    routes: [
        {
            path: '/',
            component: (resolve) => require(['../views/home.vue'], resolve)
        },{
            path: '/demo',
            component: (resolve) => require(['../views/demo.vue'], resolve)
        },
        {
            path: '/test',
            component: (resolve) => require(['../routers/test.vue'], resolve)
        },{
            path: '/grid',
            component: (resolve) => require(['../routers/grid.vue'], resolve)

        },{
            path: '/button',
            component: (resolve) => require(['../routers/button.vue'], resolve)
        },{
            path: '/icon',
            component: (resolve) => require(['../routers/icon.vue'], resolve)
        },
    ]
})
export default router;
